From 1682d2fdf6bcfb0f475c1720dad7a8215eb1ac79 Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Wed, 26 Aug 2015 17:41:34 -0400 Subject: [PATCH] tmem: Remove in xc_tmem_control_oid duplicate set_xen_guest_handle call We are doing another call to set_xen_guest_handle right after the xc_hypercall_bounce_pre (the correct place to do it). Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: Andrew Cooper Acked-by: Wei Liu --- tools/libxc/xc_tmem.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/libxc/xc_tmem.c b/tools/libxc/xc_tmem.c index 83522333e3..0d1bfb4284 100644 --- a/tools/libxc/xc_tmem.c +++ b/tools/libxc/xc_tmem.c @@ -110,7 +110,6 @@ int xc_tmem_control_oid(xc_interface *xch, op.pool_id = pool_id; op.u.ctrl.subop = subop; op.u.ctrl.cli_id = cli_id; - set_xen_guest_handle(op.u.ctrl.buf,buf); op.u.ctrl.arg1 = arg1; op.u.ctrl.arg2 = arg2; op.u.ctrl.oid[0] = oid.oid[0]; -- 2.30.2